package com.dk.service;

import com.dk.page.PageResult;
import com.dk.pojo.Warehouse;

import java.util.List;

public interface WarehouseService {
    PageResult<Warehouse> getAllwarehouse(Integer pageNum, Integer pageSize);

    void insertWarehouse(Warehouse warehouse);

    void deleteById(Integer id);

    void deleteAllById(List<String> ids);

    void updateWarehouse(Warehouse warehouse);

    Warehouse getById(Integer id);

    List<Warehouse> getwarehouseByName(String name);

    Warehouse getWarById(Integer warId);
}
